﻿<html>

<head>
  <title>网页里的电脑博物馆</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reset.css@2.0.2/reset.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sindresorhus/github-markdown-css@2.10.0/github-markdown.css">
  <link rel="stylesheet" href="../base.css" />
  <link rel="stylesheet" href="../emularity.css" />
  <script src="https://cdn.jsdelivr.net/npm/showdown@1.8.7/dist/showdown.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>

  <script src="../baidu-stat.js"></script>

  <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' />
</head>

<body>
  <nav id="mainnav" style="position: relative; z-index: 2;">
    <ul>
      <li>
        <a href="../index.html">目录</a>
      </li>
      <li>
        <a href="http://www.famicn.com">游戏学习机</a>
      </li>
      <li>
        <a href="https://zhuanlan.zhihu.com/retrocomputing">知乎专栏</a>
      </li>
      <li>
        <a href="https://github.com/pengan1987/computer-museum-dnbwg">Github</a>
      </li>
      <li>
        <a href="../labs.html">实验室</a>
      </li>
    </ul>
  </nav>
  <div id="javatari" style="text-align: center; margin: 20px auto 0; padding: 0 10px;">
    <div id="pc-1500" align="center">
      <canvas id="screen" width="574" height="253">
        Your browser does not support CAdafAS & HTML5
      </canvas>
    </div>
    <BR>

    <div id="print" hidden="hidden" height="0">
      <canvas id="printer" width="142" height="10001" hidden="hidden">
        Your browser does not support CAdafAS & HTML5
      </canvas>
    </div>

    <textarea id="Buffer" class="msg" rows="10" cols="60"></textarea>
    <br>
    <button onclick="onAutoEntry()">发送至模拟器</button>
    <div style="display: none">
      <p id="speedindicator">25</p>
      <p id="op_run"></p>
      <p id="fps"></p>
    </div>
  </div>
  <div id="introduction" class="markdown-body"></div>
  <script type="text/javascript">
    var baseUrl = "http://dnbwg2.cdn.bcebos.com/sharp-pc1500/";
    $(document).ready(function () {
      var showdownConv = new showdown.Converter();
      var introUrl = "sharp-pc1500.md";
      $.get(introUrl,
        function (data) {
          var htmlContent = showdownConv.makeHtml(data);
          $("#introduction").html(htmlContent);
        });
      $("#Buffer").text("[CL]NEW0\nMEM\n");
    });

    function onAutoEntry() {
      xxy.cdj = document.getElementById("Buffer").value;
      xxy.cdi = 0;
      xxy.cdh = xxy.cdj.length;
      xxy.HandleAutoKeys();
    }
  </script>
  <script src="http://dnbwg2.cdn.bcebos.com/sharp-pc1500/js/final.js"></script>
  <script src="http://dnbwg2.cdn.bcebos.com/sharp-pc1500/js/loader.js"></script>
</body>

</html>